package org.lex.ftp.ui.queue.actions;

import java.awt.event.ActionEvent;

import org.lex.ftp.FTP;

public class MoveUpAction extends AbstractQueueAction {
	public MoveUpAction(FTP app) {
		super(app);
		this.setName("Move Up");
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		app.getQueue().moveUp(this.getQueuePane().getSelectedModelRow());
	}
}
